package com.usian.skill.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.usian.skill.pojo.Goods;
import com.usian.skill.vo.GoodsDetailVo;
import com.usian.skill.vo.GoodsVo;

import java.util.List;

public interface GoodsMapper extends BaseMapper<Goods> {
    /**
     * 商品列表查询
     * @return
     */
    List<GoodsVo> findList();

    /**
     * 商品的详情
     * @param id
     * @return
     */
    GoodsVo goodsVoById(Long id);
}
